/*
 * Copyright (c) 2011 Team A CS2340. All rights reserved.
 */

package edu.gatech.teama.doctorsoffice.net;

import java.util.List;

import edu.gatech.teama.doctorsoffice.model.User;
import edu.gatech.teama.doctorsoffice.server.DataModel;

/**
 * Contains a <code>List</code> of <code>User</code> objects.
 * Used to return a set of <code>User</code> results.
 * @author Team A
 * @version 1.0
 *
 */
public class UserListMessage extends Message {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6671296720470470663L;

	/**
	 * Initialize a UserListMessage with a specified <code>List</code>
	 * of <code>User</code> objects.
	 * @param payload <code>List</code> of <code>User</code> objects
	 */
	public UserListMessage(List<? extends User> payload) {
		super(payload);
	}
	
	/**
	 * This message type does not perform any action.
	 * @param model data model to modify
	 * @return always <code>null</code>
	 */
	@Override
	public Message handle(final DataModel model) {
		// TODO Auto-generated method stub
		return null;
	}

}
